# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'
source 'https://gitee.com/supershs/SGRepo.git'
 platform :ios, '12.0'
abstract_target '33webCommonPods' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

    pod 'SwiftWeb', '0.1.21'

    pod 'Toast'
    # json 解析
    pod 'HandyJSON', '~> 5.0.1'
    
    pod 'TZImagePickerController'

    pod 'Kingfisher'
#    pod 'RxAlamofire'
    
#    pod 'swiftScan', :git => 'https://github.com/MxABC/swiftScan.git'
#    pod 'swiftScan'  # 检查最新版本号

pod 'swiftScan', :git => 'https://github.com/MxABC/swiftScan.git'
    # 约束
    pod 'SnapKit'
    # 网络请求
    pod 'Alamofire'
    # 基于alamofire的二次封装
    pod 'Moya'#, '~> 14.0'
    pod 'Moya/RxSwift'
    pod 'RxSwift'
    pod 'RxSwift'
    pod 'RxCocoa'
    pod 'RxDataSources'
    pod 'RxAlamofire'
    pod 'Then'
    pod 'SVProgressHUD'
    pod 'IQKeyboardManagerSwift'
    pod 'XCGLogger', '~> 7.0.0'
    
    
    
    
    # 新建target后导入的三方将不再新建target的引用范围内，最好在新建target之前导入，或者用abstract_target '33webCommonPods'这种方法
    target '33web' do
    end
    target '33web_Archive' do
    end
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      if config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'].to_f < 10.0
        config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '10.0'
      end
    end
  end
end
